package cn.tedu.sgos.user.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: Miyako
 * @Date: 2024-08-29-10:54
 * @Description:
 */
@Data
public class UserVO {
    @ApiModelProperty("用户id")
    private Long id;
    @ApiModelProperty("手机号/用户名")
    private String phone;
    @ApiModelProperty("用户密码")
    private String password;
    @ApiModelProperty("用户昵称")
    private String nickname;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("真实姓名")
    private String name;
    @ApiModelProperty("身份证号码")
    private String idCard;
    @ApiModelProperty("用户身份")
    private String status;
    @ApiModelProperty(name = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/shanghai")
    private Date createTime;
    @ApiModelProperty(name = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/shanghai")
    private Date updateTime;

}
